package io.renren.modules.edu.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;


/**
 * 薪资表
 *
 * @author zwp zwp
 * @since 1.0.0 2022-07-11
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_edu_salary")
public class TEduSalaryEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableId
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 系统用户id
     */
    private Long sysUserId;
    /**
     * 教师信息表id
     */
	private Long eduTeacherinfoId;
    /**
     * 基本工资
     */
	private BigDecimal basicSalary;
    /**
     * 岗位工资
     */
	private BigDecimal postSalary;
    /**
     * 餐补
     */
	private BigDecimal mealSalary;
    /**
     * 交通费
     */
	private BigDecimal travelSalary;
    /**
     * 加班补助
     */
	private BigDecimal overtimeSalary;
    /**
     * 实发工资
     */
	private BigDecimal netSalary;
    /**
     * 工资确认状态(0:未确认,1:已确认,默认0)
     */
	private Integer status;
    /**
     * 所属年份
     */
	private Integer year;
    /**
     * 所属月份
     */
	private Integer month;
    /**
     * 备注
     */
	private String comment;
    /**
     * 修改时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateDate;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private Long createDate;
}
